package com.wuxi.zhang.design.factorypattern;

/**
 * @author zhang on 2018/12/20.
 */
public class FactoryPatternDemo {

    public static void main(String[] args) {

        Job alibaba = JobFactory.getJob("Alibaba");
        alibaba.findJob();

        Job tencent = JobFactory.getJob("Tencent");
        tencent.findJob();
    }
}
